Skip to content

can set a patchData w. an all_primal centering#805

Closed
rochSmets wants to merge 10 commits intoPHAREHUB:masterfrom
rochSmets:oper
Closed

can set a patchData w. an all_primal centering#805
rochSmets wants to merge 10 commits intoPHAREHUB:masterfrom
rochSmets:oper

Conversation

@rochSmets
Copy link
Copy Markdown
Contributor

@rochSmets rochSmets commented Jan 14, 2024

This is just the beginning of the work... I will continue once we will be agree with the way to do it.
My notebook to test it is here :
https://github.com/rochSmets/farJunk/blob/main/nb/ohm.ipynb

Summary by CodeRabbit

  • New Features

    • Introduced advanced mathematical operations for vector and scalar fields, including dot product, cross product, square root, gradient, and modulus calculations.
    • Added new methods and functions for handling hierarchical data structures, including renaming, arithmetic operations, and domain slicing.
  • Enhancements

    • Updated PatchHierarchy class with new methods for mapping quantities to spatial directions and retrieving patch data names.
    • Improved field computation methods to handle additional parameters and new arithmetic operations.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants